package com.etc.entity.po;

import java.io.Serializable;
import java.util.Date;

/**
 * 文件名:com.etc.entity.po
 * 描述：秒杀商品详细信息
 * 作者:吴仕泉
 * 时间:2019/5/28 2:09
 */
public class FlashOrderMessage implements Serializable{
    //订单号
    private String flashordernum;
    //单价
    private Double flashsalary;
    //下单时间
    private Date flashordertime;
    //订单状态
    private Integer flashorderstatus;
    //商品数量
    private Integer goodsnum;
    //商品Id
    private Integer  goodsid;
    //商品名字
    private String goodsname;
    //收货地址
    private String address;
    //收货人
    private String consignee;
    //联系电话
    private String consigneetel;
    //图片路径
    private String pictureurl;
    //商品对应的二级分类
    private Integer twolevelid;
    //商品对应的二级分类名称
    private String  twolevelname;
    //商品对应一级分类
    private Integer onelevelid;
    //商品对应的一级分类名字
    private String onelevelname;

    //订单的ID
    private Integer flashorderid;

    public FlashOrderMessage() {
    }

    public FlashOrderMessage(String flashordernum, Double flashsalary, Date flashordertime, Integer flashorderstatus, Integer goodsnum, Integer goodsid, String goodsname, String address, String consignee, String consigneetel, String pictureurl, Integer twolevelid, String twolevelname, Integer onelevelid, String onelevelname, Integer flashorderid) {
        this.flashordernum = flashordernum;
        this.flashsalary = flashsalary;
        this.flashordertime = flashordertime;
        this.flashorderstatus = flashorderstatus;
        this.goodsnum = goodsnum;
        this.goodsid = goodsid;
        this.goodsname = goodsname;
        this.address = address;
        this.consignee = consignee;
        this.consigneetel = consigneetel;
        this.pictureurl = pictureurl;
        this.twolevelid = twolevelid;
        this.twolevelname = twolevelname;
        this.onelevelid = onelevelid;
        this.onelevelname = onelevelname;
        this.flashorderid = flashorderid;
    }

    public String getFlashordernum() {
        return flashordernum;
    }

    public void setFlashordernum(String flashordernum) {
        this.flashordernum = flashordernum;
    }

    public Double getFlashsalary() {
        return flashsalary;
    }

    public void setFlashsalary(Double flashsalary) {
        this.flashsalary = flashsalary;
    }

    public Date getFlashordertime() {
        return flashordertime;
    }

    public void setFlashordertime(Date flashordertime) {
        this.flashordertime = flashordertime;
    }

    public Integer getFlashorderstatus() {
        return flashorderstatus;
    }

    public void setFlashorderstatus(Integer flashorderstatus) {
        this.flashorderstatus = flashorderstatus;
    }

    public Integer getGoodsnum() {
        return goodsnum;
    }

    public void setGoodsnum(Integer goodsnum) {
        this.goodsnum = goodsnum;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getConsigneetel() {
        return consigneetel;
    }

    public void setConsigneetel(String consigneetel) {
        this.consigneetel = consigneetel;
    }

    public String getPictureurl() {
        return pictureurl;
    }

    public void setPictureurl(String pictureurl) {
        this.pictureurl = pictureurl;
    }

    public Integer getTwolevelid() {
        return twolevelid;
    }

    public void setTwolevelid(Integer twolevelid) {
        this.twolevelid = twolevelid;
    }

    public String getTwolevelname() {
        return twolevelname;
    }

    public void setTwolevelname(String twolevelname) {
        this.twolevelname = twolevelname;
    }

    public Integer getOnelevelid() {
        return onelevelid;
    }

    public void setOnelevelid(Integer onelevelid) {
        this.onelevelid = onelevelid;
    }

    public String getOnelevelname() {
        return onelevelname;
    }

    public void setOnelevelname(String onelevelname) {
        this.onelevelname = onelevelname;
    }

    public Integer getFlashorderid() {
        return flashorderid;
    }

    public void setFlashorderid(Integer flashorderid) {
        this.flashorderid = flashorderid;
    }

    @Override
    public String toString() {
        return "FlashOrderMessage{" +
                "flashordernum='" + flashordernum + '\'' +
                ", flashsalary=" + flashsalary +
                ", flashordertime=" + flashordertime +
                ", flashorderstatus=" + flashorderstatus +
                ", goodsnum=" + goodsnum +
                ", goodsid=" + goodsid +
                ", goodsname='" + goodsname + '\'' +
                ", address='" + address + '\'' +
                ", consignee='" + consignee + '\'' +
                ", consigneetel='" + consigneetel + '\'' +
                ", pictureurl='" + pictureurl + '\'' +
                ", twolevelid=" + twolevelid +
                ", twolevelname='" + twolevelname + '\'' +
                ", onelevelid=" + onelevelid +
                ", onelevelname='" + onelevelname + '\'' +
                ", flashorderid=" + flashorderid +
                '}';
    }
}
